﻿<!DOCTYPE HTML>
<html>
<#include "head.html">
<body>
<#include "header.html">
<aside class="Hui-aside">
	<div class="menu_dropdown bk_2">
		<#if treeMenus??>
		     <#list treeMenus as vo>
				 <dl id="menu-product">
				 	<#if vo.children?? && (vo.children?size > 0)>
				 	<dt>
						<i class="Hui-iconfont">${(vo.sysMenu.icon)!}</i>
						${(vo.sysMenu.menuName)!}
						<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
					</dt>
				 	<#else>
					<dt>
						<i class="Hui-iconfont">${(vo.sysMenu.icon)!}</i>
						<a data-href="${contextPath}/forward.do?url=${(vo.sysMenu.url)!}&pid=&id=${(vo.sysMenu.id)!}" data-title="${(vo.sysMenu.menuName)!}" href="javascript:void(0)">
							${(vo.sysMenu.menuName)!}
						</a>
					</dt>
					</#if>
					<#if vo.children?? && (vo.children?size > 0)>
                    <dd>
                        <ul>
						<#list vo.children as ch>
                                <li>
                                    <a data-href="${contextPath}/forward.do?url=${(ch.sysMenu.url)!}&pid=${(vo.sysMenu.id)!}&id=${(ch.sysMenu.id)!}" data-title="${(ch.sysMenu.menuName)!}" href="javascript:void(0)">
                                        ${(ch.sysMenu.menuName)!}
                                    </a>
                                </li>
						</#list>
                        </ul>
                    </dd>
					</#if>
				</dl>
		    </#list>
	     </#if>
	</div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active">
					<span title="我的桌面" data-href="welcome.html">我的桌面</span>
					<em></em></li>
			</ul>
		</div>
			<div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
	</div>
	<div id="iframe_box" class="Hui-article">
		<div class="show_iframe">
			<div style="display:none" class="loading"></div>
			<iframe scrolling="yes" frameborder="0" src="${contextPath}/welcome.do"></iframe>
		</div>
	</div>
</section>
<div class="contextMenu" id="Huiadminmenu">
	<ul>
		<li id="closethis">关闭当前 </li>
		<li id="closeall">关闭全部 </li>
</ul>
</div>
<#include "footer.html">
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="${contextPath}/common/hui/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<script type="text/javascript">
$(function(){
	$("#min_title_list li").contextMenu('Huiadminmenu', {
		bindings: {
			'closethis': function(t) {
				console.log(t);
				if(t.find("i")){
					t.find("i").trigger("click");
				}		
			},
			'closeall': function(t) {
				alert('Trigger was '+t.id+'\nAction was Email');
			},
		}
	});
});
</script> 
</body>
</html>